package com.dqp.cslggroup.UI;

import android.content.Context;
import android.graphics.Typeface;
import android.util.AttributeSet;
import androidx.appcompat.widget.AppCompatTextView;

public class IconView extends AppCompatTextView {
    public IconView(Context context) {
        super(context);

    }


    public IconView(Context context, AttributeSet attrs) {
        super(context, attrs);
        initView(context);
    }

    private void initView(Context context) {
        Typeface typeface = Typeface.createFromAsset(context.getAssets(), "iconfont.ttf");
        setTypeface(typeface);
    }
}